package o;

import android.graphics.Rect;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextUtils;
import android.text.style.ClickableSpan;
import android.util.Log;
import android.util.SparseArray;
import android.view.View;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
import android.view.accessibility.AccessibilityNodeInfo.CollectionInfo;
import android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;
import com.huawei.hms.framework.network.restclient.hwhttp.dns.DnsConfig;
import com.huawei.hwid.core.constants.HwAccountConstants;
import com.tencent.mm.opensdk.modelmsg.WXMediaMessage;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import o.ip.c;
import o.ip.e;
import o.ip.f;
import o.ip.i;
import o.ip.j;

public class in {
    private static int ˊ = 0;
    @RestrictTo({d.ॱ})
    public int ˋ = -1;
    private int ˎ = -1;
    private final AccessibilityNodeInfo ˏ;

    public static class a {
        final Object ˎ;

        public static a ˊ(int i, int i2, boolean z, int i3) {
            if (VERSION.SDK_INT >= 21) {
                return new a(CollectionInfo.obtain(i, i2, z, i3));
            }
            if (VERSION.SDK_INT >= 19) {
                return new a(CollectionInfo.obtain(i, i2, z));
            }
            return new a(null);
        }

        a(Object obj) {
            this.ˎ = obj;
        }
    }

    public static class b {
        public static final b ʻ = new b(64, null);
        public static final b ʻॱ = new b(WXMediaMessage.MINI_PROGRAM__THUMB_LENGHT, null, f.class);
        public static final b ʼ = new b(WXMediaMessage.TITLE_LENGTH_LIMIT, null, o.ip.b.class);
        public static final b ʼॱ = new b(VERSION.SDK_INT >= 23 ? AccessibilityAction.ACTION_SCROLL_TO_POSITION : null, 16908343, null, null, o.ip.a.class);
        public static final b ʽ = new b(DnsConfig.MAX_CACHE_ENTRIES, null);
        public static final b ʽॱ;
        public static final b ʾ = new b(2097152, null, i.class);
        public static final b ʿ = new b(1048576, null);
        public static final b ˈ;
        public static final b ˉ;
        public static final b ˊ = new b(16, null);
        public static final b ˊˊ;
        public static final b ˊˋ;
        public static final b ˊॱ = new b(8192, null);
        public static final b ˊᐝ;
        public static final b ˋ = new b(4, null);
        public static final b ˋˊ;
        public static final b ˋॱ = new b(16384, null);
        public static final b ˋᐝ;
        public static final b ˍ = new b(VERSION.SDK_INT >= 26 ? AccessibilityAction.ACTION_MOVE_WINDOW : null, 16908354, null, null, ip.d.class);
        public static final b ˎ = new b(2, null);
        public static final b ˎˎ;
        public static final b ˏ = new b(1, null);
        public static final b ˏॱ = new b(2048, null, e.class);
        public static final b ͺ = new b(WXMediaMessage.DESCRIPTION_LENGTH_LIMIT, null, e.class);
        public static final b ॱ = new b(8, null);
        public static final b ॱˊ = new b(4096, null);
        public static final b ॱˋ = new b(WXMediaMessage.THUMB_LENGTH_LIMIT, null);
        public static final b ॱˎ = new b(262144, null);
        public static final b ॱॱ = new b(256, null, o.ip.b.class);
        public static final b ॱᐝ = new b(32768, null);
        public static final b ᐝ = new b(32, null);
        public static final b ᐝॱ = new b(524288, null);
        @RestrictTo({d.ॱ})
        protected final ip ˋˋ;
        final Object ˌ;
        private final int ˎˏ;
        private final CharSequence ˏˏ;
        private final Class<? extends c> ˑ;

        static {
            Object obj;
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_SHOW_ON_SCREEN;
            } else {
                obj = null;
            }
            ʽॱ = new b(obj, 16908342, null, null, null);
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_SCROLL_UP;
            } else {
                obj = null;
            }
            ˈ = new b(obj, 16908344, null, null, null);
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_SCROLL_LEFT;
            } else {
                obj = null;
            }
            ˋˊ = new b(obj, 16908345, null, null, null);
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_SCROLL_DOWN;
            } else {
                obj = null;
            }
            ˊˊ = new b(obj, 16908346, null, null, null);
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_SCROLL_RIGHT;
            } else {
                obj = null;
            }
            ˊˋ = new b(obj, 16908347, null, null, null);
            if (VERSION.SDK_INT >= 23) {
                obj = AccessibilityAction.ACTION_CONTEXT_CLICK;
            } else {
                obj = null;
            }
            ˉ = new b(obj, 16908348, null, null, null);
            if (VERSION.SDK_INT >= 24) {
                obj = AccessibilityAction.ACTION_SET_PROGRESS;
            } else {
                obj = null;
            }
            ˊᐝ = new b(obj, 16908349, null, null, j.class);
            if (VERSION.SDK_INT >= 28) {
                obj = AccessibilityAction.ACTION_SHOW_TOOLTIP;
            } else {
                obj = null;
            }
            ˎˎ = new b(obj, 16908356, null, null, null);
            if (VERSION.SDK_INT >= 28) {
                obj = AccessibilityAction.ACTION_HIDE_TOOLTIP;
            } else {
                obj = null;
            }
            ˋᐝ = new b(obj, 16908357, null, null, null);
        }

        public b(int i, CharSequence charSequence) {
            this(null, i, charSequence, null, null);
        }

        private b(int i, CharSequence charSequence, Class<? extends c> cls) {
            this(null, i, charSequence, null, cls);
        }

        b(Object obj, int i, CharSequence charSequence, ip ipVar, Class<? extends c> cls) {
            this.ˎˏ = i;
            this.ˏˏ = charSequence;
            this.ˋˋ = ipVar;
            if (VERSION.SDK_INT < 21 || obj != null) {
                this.ˌ = obj;
            } else {
                this.ˌ = new AccessibilityAction(i, charSequence);
            }
            this.ˑ = cls;
        }

        public int ˋ() {
            if (VERSION.SDK_INT >= 21) {
                return ((AccessibilityAction) this.ˌ).getId();
            }
            return 0;
        }

        @RestrictTo({d.ॱ})
        public boolean ˎ(View view, Bundle bundle) {
            c cVar;
            Throwable th;
            String str;
            if (this.ˋˋ == null) {
                return false;
            }
            c cVar2 = null;
            if (this.ˑ != null) {
                try {
                    cVar = (c) this.ˑ.getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
                    try {
                        cVar.ˊ(bundle);
                    } catch (Throwable e) {
                        th = e;
                        cVar2 = cVar;
                        if (this.ˑ != null) {
                            str = HwAccountConstants.NULL;
                        } else {
                            str = this.ˑ.getName();
                        }
                        Log.e("A11yActionCompat", "Failed to execute command with argument class ViewCommandArgument: " + str, th);
                        cVar = cVar2;
                        return this.ˋˋ.ˊ(view, cVar);
                    }
                } catch (Throwable e2) {
                    th = e2;
                    if (this.ˑ != null) {
                        str = this.ˑ.getName();
                    } else {
                        str = HwAccountConstants.NULL;
                    }
                    Log.e("A11yActionCompat", "Failed to execute command with argument class ViewCommandArgument: " + str, th);
                    cVar = cVar2;
                    return this.ˋˋ.ˊ(view, cVar);
                }
            }
            cVar = null;
            return this.ˋˋ.ˊ(view, cVar);
        }
    }

    private in(AccessibilityNodeInfo accessibilityNodeInfo) {
        this.ˏ = accessibilityNodeInfo;
    }

    public static in ॱ(@NonNull AccessibilityNodeInfo accessibilityNodeInfo) {
        return new in(accessibilityNodeInfo);
    }

    public AccessibilityNodeInfo ˏ() {
        return this.ˏ;
    }

    public static in ˏ(View view) {
        return ॱ(AccessibilityNodeInfo.obtain(view));
    }

    public static in ˋ() {
        return ॱ(AccessibilityNodeInfo.obtain());
    }

    public static in ˎ(in inVar) {
        return ॱ(AccessibilityNodeInfo.obtain(inVar.ˏ));
    }

    public void ॱ(View view) {
        this.ˎ = -1;
        this.ˏ.setSource(view);
    }

    public void ˋ(View view, int i) {
        this.ˎ = i;
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.setSource(view, i);
        }
    }

    public int ˎ() {
        return this.ˏ.getChildCount();
    }

    public void ˎ(View view) {
        this.ˏ.addChild(view);
    }

    public void ॱ(View view, int i) {
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.addChild(view, i);
        }
    }

    public int ˊ() {
        return this.ˏ.getActions();
    }

    public void ˊ(int i) {
        this.ˏ.addAction(i);
    }

    private List<Integer> ˏ(String str) {
        if (VERSION.SDK_INT < 19) {
            return new ArrayList();
        }
        List<Integer> integerArrayList = this.ˏ.getExtras().getIntegerArrayList(str);
        if (integerArrayList != null) {
            return integerArrayList;
        }
        integerArrayList = new ArrayList();
        this.ˏ.getExtras().putIntegerArrayList(str, integerArrayList);
        return integerArrayList;
    }

    public void ˏ(b bVar) {
        if (VERSION.SDK_INT >= 21) {
            this.ˏ.addAction((AccessibilityAction) bVar.ˌ);
        }
    }

    public boolean ˋ(b bVar) {
        if (VERSION.SDK_INT >= 21) {
            return this.ˏ.removeAction((AccessibilityAction) bVar.ˌ);
        }
        return false;
    }

    public boolean ˊ(int i, Bundle bundle) {
        if (VERSION.SDK_INT >= 16) {
            return this.ˏ.performAction(i, bundle);
        }
        return false;
    }

    public void ˋ(int i) {
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.setMovementGranularities(i);
        }
    }

    public int ॱ() {
        if (VERSION.SDK_INT >= 16) {
            return this.ˏ.getMovementGranularities();
        }
        return 0;
    }

    public void ˋ(View view) {
        this.ˋ = -1;
        this.ˏ.setParent(view);
    }

    public void ˎ(View view, int i) {
        this.ˋ = i;
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.setParent(view, i);
        }
    }

    public void ˏ(Rect rect) {
        this.ˏ.getBoundsInParent(rect);
    }

    public void ˊ(Rect rect) {
        this.ˏ.setBoundsInParent(rect);
    }

    public void ˎ(Rect rect) {
        this.ˏ.getBoundsInScreen(rect);
    }

    public void ˋ(Rect rect) {
        this.ˏ.setBoundsInScreen(rect);
    }

    public boolean ʻ() {
        return this.ˏ.isCheckable();
    }

    public void ˏ(boolean z) {
        this.ˏ.setCheckable(z);
    }

    public boolean ʽ() {
        return this.ˏ.isChecked();
    }

    public void ˎ(boolean z) {
        this.ˏ.setChecked(z);
    }

    public boolean ᐝ() {
        return this.ˏ.isFocusable();
    }

    public void ˋ(boolean z) {
        this.ˏ.setFocusable(z);
    }

    public boolean ॱॱ() {
        return this.ˏ.isFocused();
    }

    public void ˊ(boolean z) {
        this.ˏ.setFocused(z);
    }

    public boolean ʼ() {
        if (VERSION.SDK_INT >= 16) {
            return this.ˏ.isVisibleToUser();
        }
        return false;
    }

    public void ॱ(boolean z) {
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.setVisibleToUser(z);
        }
    }

    public boolean ˏॱ() {
        if (VERSION.SDK_INT >= 16) {
            return this.ˏ.isAccessibilityFocused();
        }
        return false;
    }

    public void ॱॱ(boolean z) {
        if (VERSION.SDK_INT >= 16) {
            this.ˏ.setAccessibilityFocused(z);
        }
    }

    public boolean ˋॱ() {
        return this.ˏ.isSelected();
    }

    public void ʻ(boolean z) {
        this.ˏ.setSelected(z);
    }

    public boolean ˊॱ() {
        return this.ˏ.isClickable();
    }

    public void ʽ(boolean z) {
        this.ˏ.setClickable(z);
    }

    public boolean ॱˊ() {
        return this.ˏ.isLongClickable();
    }

    public void ʼ(boolean z) {
        this.ˏ.setLongClickable(z);
    }

    public boolean ͺ() {
        return this.ˏ.isEnabled();
    }

    public void ᐝ(boolean z) {
        this.ˏ.setEnabled(z);
    }

    public boolean ॱᐝ() {
        return this.ˏ.isPassword();
    }

    public boolean ᐝॱ() {
        return this.ˏ.isScrollable();
    }

    public void ˏॱ(boolean z) {
        this.ˏ.setScrollable(z);
    }

    public CharSequence ॱˎ() {
        return this.ˏ.getPackageName();
    }

    public void ˎ(CharSequence charSequence) {
        this.ˏ.setPackageName(charSequence);
    }

    public CharSequence ʻॱ() {
        return this.ˏ.getClassName();
    }

    public void ˏ(CharSequence charSequence) {
        this.ˏ.setClassName(charSequence);
    }

    public CharSequence ॱˋ() {
        if (!ʿ()) {
            return this.ˏ.getText();
        }
        List ˏ = ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_START_KEY");
        List ˏ2 = ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_END_KEY");
        List ˏ3 = ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_FLAGS_KEY");
        List ˏ4 = ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ID_KEY");
        Spannable spannableString = new SpannableString(TextUtils.substring(this.ˏ.getText(), 0, this.ˏ.getText().length()));
        for (int i = 0; i < ˏ.size(); i++) {
            spannableString.setSpan(new ig(((Integer) ˏ4.get(i)).intValue(), this, ʼॱ().getInt("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ACTION_ID_KEY")), ((Integer) ˏ.get(i)).intValue(), ((Integer) ˏ2.get(i)).intValue(), ((Integer) ˏ3.get(i)).intValue());
        }
        return spannableString;
    }

    public void ˋ(CharSequence charSequence) {
        this.ˏ.setText(charSequence);
    }

    @RestrictTo({d.ॱ})
    public void ॱ(CharSequence charSequence, View view) {
        if (VERSION.SDK_INT >= 19 && VERSION.SDK_INT < 26) {
            ˋˊ();
            ॱॱ(view);
            ClickableSpan[] ˊ = ˊ(charSequence);
            if (ˊ != null && ˊ.length > 0) {
                ʼॱ().putInt("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ACTION_ID_KEY", ff.d.ˎ);
                SparseArray ʽ = ʽ(view);
                int i = 0;
                while (ˊ != null && i < ˊ.length) {
                    int ˊ2 = ˊ(ˊ[i], ʽ);
                    ʽ.put(ˊ2, new WeakReference(ˊ[i]));
                    ॱ(ˊ[i], (Spanned) charSequence, ˊ2);
                    i++;
                }
            }
        }
    }

    private SparseArray<WeakReference<ClickableSpan>> ʽ(View view) {
        SparseArray<WeakReference<ClickableSpan>> ʻ = ʻ(view);
        if (ʻ != null) {
            return ʻ;
        }
        ʻ = new SparseArray();
        view.setTag(ff.d.ˍ, ʻ);
        return ʻ;
    }

    private SparseArray<WeakReference<ClickableSpan>> ʻ(View view) {
        return (SparseArray) view.getTag(ff.d.ˍ);
    }

    @RestrictTo({d.ॱ})
    public static ClickableSpan[] ˊ(CharSequence charSequence) {
        if (charSequence instanceof Spanned) {
            return (ClickableSpan[]) ((Spanned) charSequence).getSpans(0, charSequence.length(), ClickableSpan.class);
        }
        return null;
    }

    private int ˊ(ClickableSpan clickableSpan, SparseArray<WeakReference<ClickableSpan>> sparseArray) {
        if (sparseArray != null) {
            for (int i = 0; i < sparseArray.size(); i++) {
                if (clickableSpan.equals((ClickableSpan) ((WeakReference) sparseArray.valueAt(i)).get())) {
                    return sparseArray.keyAt(i);
                }
            }
        }
        int i2 = ˊ;
        ˊ = i2 + 1;
        return i2;
    }

    private boolean ʿ() {
        return !ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_START_KEY").isEmpty();
    }

    private void ˋˊ() {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.getExtras().remove("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_START_KEY");
            this.ˏ.getExtras().remove("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_END_KEY");
            this.ˏ.getExtras().remove("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_FLAGS_KEY");
            this.ˏ.getExtras().remove("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ID_KEY");
        }
    }

    private void ॱ(ClickableSpan clickableSpan, Spanned spanned, int i) {
        ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_START_KEY").add(Integer.valueOf(spanned.getSpanStart(clickableSpan)));
        ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_END_KEY").add(Integer.valueOf(spanned.getSpanEnd(clickableSpan)));
        ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_FLAGS_KEY").add(Integer.valueOf(spanned.getSpanFlags(clickableSpan)));
        ˏ("androidx.view.accessibility.AccessibilityNodeInfoCompat.SPANS_ID_KEY").add(Integer.valueOf(i));
    }

    private void ॱॱ(View view) {
        int i = 0;
        SparseArray ʻ = ʻ(view);
        if (ʻ != null) {
            List arrayList = new ArrayList();
            for (int i2 = 0; i2 < ʻ.size(); i2++) {
                if (((WeakReference) ʻ.valueAt(i2)).get() == null) {
                    arrayList.add(Integer.valueOf(i2));
                }
            }
            while (i < arrayList.size()) {
                ʻ.remove(((Integer) arrayList.get(i)).intValue());
                i++;
            }
        }
    }

    public CharSequence ʾ() {
        return this.ˏ.getContentDescription();
    }

    public void ॱ(CharSequence charSequence) {
        this.ˏ.setContentDescription(charSequence);
    }

    public void ʽॱ() {
        this.ˏ.recycle();
    }

    public String ˈ() {
        if (VERSION.SDK_INT >= 18) {
            return this.ˏ.getViewIdResourceName();
        }
        return null;
    }

    public void ˏ(Object obj) {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.setCollectionInfo(obj == null ? null : (CollectionInfo) ((a) obj).ˎ);
        }
    }

    public void ˋ(Object obj) {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.setCollectionItemInfo(obj == null ? null : (CollectionItemInfo) ((e) obj).ˎ);
        }
    }

    public void ॱˊ(boolean z) {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.setContentInvalid(z);
        }
    }

    public void ʽ(@Nullable CharSequence charSequence) {
        if (VERSION.SDK_INT >= 26) {
            this.ˏ.setHintText(charSequence);
        } else if (VERSION.SDK_INT >= 19) {
            this.ˏ.getExtras().putCharSequence("androidx.view.accessibility.AccessibilityNodeInfoCompat.HINT_TEXT_KEY", charSequence);
        }
    }

    public void ᐝ(CharSequence charSequence) {
        if (VERSION.SDK_INT >= 21) {
            this.ˏ.setError(charSequence);
        }
    }

    public void ˊ(View view) {
        if (VERSION.SDK_INT >= 17) {
            this.ˏ.setLabelFor(view);
        }
    }

    public void ˊॱ(boolean z) {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.setCanOpenPopup(z);
        }
    }

    public Bundle ʼॱ() {
        if (VERSION.SDK_INT >= 19) {
            return this.ˏ.getExtras();
        }
        return new Bundle();
    }

    public void ˋॱ(boolean z) {
        if (VERSION.SDK_INT >= 19) {
            this.ˏ.setDismissable(z);
        }
    }

    public void ʼ(@Nullable CharSequence charSequence) {
        if (VERSION.SDK_INT >= 28) {
            this.ˏ.setPaneTitle(charSequence);
        } else if (VERSION.SDK_INT >= 19) {
            this.ˏ.getExtras().putCharSequence("androidx.view.accessibility.AccessibilityNodeInfoCompat.PANE_TITLE_KEY", charSequence);
        }
    }

    public void ͺ(boolean z) {
        if (VERSION.SDK_INT >= 28) {
            this.ˏ.setScreenReaderFocusable(z);
        } else {
            ˎ(1, z);
        }
    }

    public void ॱˋ(boolean z) {
        if (VERSION.SDK_INT >= 26) {
            this.ˏ.setShowingHintText(z);
        } else {
            ˎ(4, z);
        }
    }

    public void ʻॱ(boolean z) {
        if (VERSION.SDK_INT >= 28) {
            this.ˏ.setHeading(z);
        } else {
            ˎ(2, z);
        }
    }

    public int hashCode() {
        return this.ˏ == null ? 0 : this.ˏ.hashCode();
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        in inVar = (in) obj;
        if (this.ˏ == null) {
            if (inVar.ˏ != null) {
                return false;
            }
        } else if (!this.ˏ.equals(inVar.ˏ)) {
            return false;
        }
        if (this.ˎ != inVar.ˎ) {
            return false;
        }
        if (this.ˋ != inVar.ˋ) {
            return false;
        }
        return true;
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(super.toString());
        Rect rect = new Rect();
        ˏ(rect);
        stringBuilder.append("; boundsInParent: " + rect);
        ˎ(rect);
        stringBuilder.append("; boundsInScreen: " + rect);
        stringBuilder.append("; packageName: ").append(ॱˎ());
        stringBuilder.append("; className: ").append(ʻॱ());
        stringBuilder.append("; text: ").append(ॱˋ());
        stringBuilder.append("; contentDescription: ").append(ʾ());
        stringBuilder.append("; viewId: ").append(ˈ());
        stringBuilder.append("; checkable: ").append(ʻ());
        stringBuilder.append("; checked: ").append(ʽ());
        stringBuilder.append("; focusable: ").append(ᐝ());
        stringBuilder.append("; focused: ").append(ॱॱ());
        stringBuilder.append("; selected: ").append(ˋॱ());
        stringBuilder.append("; clickable: ").append(ˊॱ());
        stringBuilder.append("; longClickable: ").append(ॱˊ());
        stringBuilder.append("; enabled: ").append(ͺ());
        stringBuilder.append("; password: ").append(ॱᐝ());
        stringBuilder.append("; scrollable: " + ᐝॱ());
        stringBuilder.append("; [");
        int ˊ = ˊ();
        while (ˊ != 0) {
            int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(ˊ);
            ˊ &= numberOfTrailingZeros ^ -1;
            stringBuilder.append(ˏ(numberOfTrailingZeros));
            if (ˊ != 0) {
                stringBuilder.append(", ");
            }
        }
        stringBuilder.append("]");
        return stringBuilder.toString();
    }

    private void ˎ(int i, boolean z) {
        Bundle ʼॱ = ʼॱ();
        if (ʼॱ != null) {
            int i2 = ʼॱ.getInt("androidx.view.accessibility.AccessibilityNodeInfoCompat.BOOLEAN_PROPERTY_KEY", 0) & (i ^ -1);
            if (!z) {
                i = 0;
            }
            ʼॱ.putInt("androidx.view.accessibility.AccessibilityNodeInfoCompat.BOOLEAN_PROPERTY_KEY", i2 | i);
        }
    }

    private static String ˏ(int i) {
        switch (i) {
            case 1:
                return "ACTION_FOCUS";
            case 2:
                return "ACTION_CLEAR_FOCUS";
            case 4:
                return "ACTION_SELECT";
            case 8:
                return "ACTION_CLEAR_SELECTION";
            case 16:
                return "ACTION_CLICK";
            case 32:
                return "ACTION_LONG_CLICK";
            case 64:
                return "ACTION_ACCESSIBILITY_FOCUS";
            case DnsConfig.MAX_CACHE_ENTRIES /*128*/:
                return "ACTION_CLEAR_ACCESSIBILITY_FOCUS";
            case 256:
                return "ACTION_NEXT_AT_MOVEMENT_GRANULARITY";
            case WXMediaMessage.TITLE_LENGTH_LIMIT /*512*/:
                return "ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY";
            case WXMediaMessage.DESCRIPTION_LENGTH_LIMIT /*1024*/:
                return "ACTION_NEXT_HTML_ELEMENT";
            case 2048:
                return "ACTION_PREVIOUS_HTML_ELEMENT";
            case 4096:
                return "ACTION_SCROLL_FORWARD";
            case 8192:
                return "ACTION_SCROLL_BACKWARD";
            case 16384:
                return "ACTION_COPY";
            case 32768:
                return "ACTION_PASTE";
            case WXMediaMessage.THUMB_LENGTH_LIMIT /*65536*/:
                return "ACTION_CUT";
            case WXMediaMessage.MINI_PROGRAM__THUMB_LENGHT /*131072*/:
                return "ACTION_SET_SELECTION";
            default:
                return "ACTION_UNKNOWN";
        }
    }
}
